package com.informet.ipd.modelo.vo;

public class PlanOperativoVO {
	
	private int NUM_CODACTPER_PK;
	private String TX_UMACTPER;
	private int NUM_CANTACTPER;
	private String TX_TIPOACTPER;
	private String DT_INIACTPER;
	private String DT_TERACTPER;
	private double TOTAL;
	private int NUM_CODMETAAPER_PK;
	private String TX_DESCACTPER;
        private String NUM_ACTSUSPENSION;


        //Ini agregado
	private String codObjEsp;
        private String codObj;
        private String descObj;
        private String descObjEsp;
	
	public PlanOperativoVO() {
    }
	
	
	public PlanOperativoVO(int NUM_CODACTPER_PK,String TX_UMACTPER,int NUM_CANTACTPER,String TX_TIPOACTPER,String DT_INIACTPER,String DT_TERACTPER)
    {
        this.setNUM_CODACTPER_PK(NUM_CODACTPER_PK);
        this.setTX_UMACTPER(TX_UMACTPER);
        this.setNUM_CANTACTPER(NUM_CANTACTPER);
        this.setTX_TIPOACTPER(TX_TIPOACTPER);
        this.setDT_INIACTPER(DT_INIACTPER);
        this.setDT_TERACTPER(DT_TERACTPER);
    }


	public PlanOperativoVO(int NUM_CODACTPER_PK,String DT_INIACTPER,String DT_TERACTPER)
    {
        this.setNUM_CODACTPER_PK(NUM_CODACTPER_PK);
        this.setDT_INIACTPER(DT_INIACTPER);
        this.setDT_TERACTPER(DT_TERACTPER);
    }

        public PlanOperativoVO(int NUM_CODACTPER_PK,String DT_INIACTPER,String DT_TERACTPER,String NUM_ACTSUSPENSION)
    {
        this.setNUM_CODACTPER_PK(NUM_CODACTPER_PK);
        this.setDT_INIACTPER(DT_INIACTPER);
        this.setDT_TERACTPER(DT_TERACTPER);
        this.setNUM_ACTSUSPENSION(NUM_ACTSUSPENSION);
    }




	public void setNUM_CODACTPER_PK(int nUM_CODACTPER_PK) {
		NUM_CODACTPER_PK = nUM_CODACTPER_PK;
	}


	public int getNUM_CODACTPER_PK() {
		return NUM_CODACTPER_PK;
	}


	public void setTX_UMACTPER(String tX_UMACTPER) {
		TX_UMACTPER = tX_UMACTPER;
	}


	public String getTX_UMACTPER() {
		return TX_UMACTPER;
	}


	public void setNUM_CANTACTPER(int nUM_CANTACTPER) {
		NUM_CANTACTPER = nUM_CANTACTPER;
	}


	public int getNUM_CANTACTPER() {
		return NUM_CANTACTPER;
	}


	public void setTX_TIPOACTPER(String tX_TIPOACTPER) {
		TX_TIPOACTPER = tX_TIPOACTPER;
	}


	public String getTX_TIPOACTPER() {
		return TX_TIPOACTPER;
	}


	public void setDT_INIACTPER(String dT_INIACTPER) {
		DT_INIACTPER = dT_INIACTPER;
	}


	public String getDT_INIACTPER() {
		return DT_INIACTPER;
	}


	public void setDT_TERACTPER(String dT_TERACTPER) {
		DT_TERACTPER = dT_TERACTPER;
	}


	public String getDT_TERACTPER() {
		return DT_TERACTPER;
	}


	public void setTOTAL(double tOTAL) {
		TOTAL = tOTAL;
	}


	public double getTOTAL() {
		return TOTAL;
	}


	public void setNUM_CODMETAAPER_PK(int nUM_CODMETAAPER_PK) {
		NUM_CODMETAAPER_PK = nUM_CODMETAAPER_PK;
	}


	public int getNUM_CODMETAAPER_PK() {
		return NUM_CODMETAAPER_PK;
	}


	public void setTX_DESCACTPER(String tX_DESCACTPER) {
		TX_DESCACTPER = tX_DESCACTPER;
	}


	public String getTX_DESCACTPER() {
		return TX_DESCACTPER;
	}

    /**
     * @return the NUM_ACTSUSPENSION
     */
    public String getNUM_ACTSUSPENSION() {
        return NUM_ACTSUSPENSION;
    }

    /**
     * @param NUM_ACTSUSPENSION the NUM_ACTSUSPENSION to set
     */
    public void setNUM_ACTSUSPENSION(String NUM_ACTSUSPENSION) {
        this.NUM_ACTSUSPENSION = NUM_ACTSUSPENSION;
    }


    public String getStringActSusp(){
        String respuesta="";
        //if(NUM_ACTSUSPENSION.compareTo("")==0){
          //  respuesta= "dvsdvsd";
        //}
        if(NUM_ACTSUSPENSION.compareTo("1")==0){
            respuesta= "Suspendido";
        }
        if(NUM_ACTSUSPENSION.compareTo("0")==0){
            respuesta= "Activado";
        }
        return respuesta;
    }

    /**
     * @return the codObjEsp
     */
    public String getCodObjEsp() {
        return codObjEsp;
    }

    /**
     * @param codObjEsp the codObjEsp to set
     */
    public void setCodObjEsp(String codObjEsp) {
        this.codObjEsp = codObjEsp;
    }

    /**
     * @return the codObj
     */
    public String getCodObj() {
        return codObj;
    }

    /**
     * @param codObj the codObj to set
     */
    public void setCodObj(String codObj) {
        this.codObj = codObj;
    }

    /**
     * @return the descObj
     */
    public String getDescObj() {
        return descObj;
    }

    /**
     * @param descObj the descObj to set
     */
    public void setDescObj(String descObj) {
        this.descObj = descObj;
    }

    /**
     * @return the descObjEsp
     */
    public String getDescObjEsp() {
        return descObjEsp;
    }

    /**
     * @param descObjEsp the descObjEsp to set
     */
    public void setDescObjEsp(String descObjEsp) {
        this.descObjEsp = descObjEsp;
    }


    



}
